package com.webside.trailerManagement.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.webside.base.basemapper.BaseMapper;
import com.webside.series.model.SeriesEntity;
import com.webside.trailerManagement.model.VideoFromWebEntity;

public interface VideoFromWebMapper extends BaseMapper<VideoFromWebEntity, Long> {

	// 根据条件分页查询预告片信息
	public List<VideoFromWebEntity> queryListByPage(Map<String, Object> parameter);

	// 上线
	public int updateOnline(List<Long> roleIds);

	// 下线
	public int updateOffline(List<Long> roleIds);
	//绑定剧集
	public int bindVideo(@Param("id")int id,@Param("ids")List<Integer> ids);

}
